package com.ruoyi.goods.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品品牌对象 bm_brand
 * 
 * @author ruoyi
 * @date 2023-08-03
 */
public class BmBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品品牌id */
    private Long id;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String bname;

    /** 品牌图片 */
    @Excel(name = "品牌图片")
    private String brandImg;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    /** 是否推荐 0.不推荐 1.推荐 */
    @Excel(name = "是否推荐 0.不推荐 1.推荐")
    private Long isRecommond;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setBname(String bname) 
    {
        this.bname = bname;
    }

    public String getBname() 
    {
        return bname;
    }
    public void setBrandImg(String brandImg) 
    {
        this.brandImg = brandImg;
    }

    public String getBrandImg() 
    {
        return brandImg;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }
    public void setIsRecommond(Long isRecommond) 
    {
        this.isRecommond = isRecommond;
    }

    public Long getIsRecommond() 
    {
        return isRecommond;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sort", getSort())
            .append("bname", getBname())
            .append("brandImg", getBrandImg())
            .append("mark", getMark())
            .append("createTime", getCreateTime())
            .append("isRecommond", getIsRecommond())
            .toString();
    }
}
